COMPONENT=TestSensorAppC
#CFLAGS += -I$(TINYOS_OS_DIR)/lib/printf
CFLAGS += -I$(TOSDIR)/lib/printf
#CFLAGS += -DNEW_PRINTF_SEMANTICS

BUILD_EXTRA_DEPS += TestSensor.class
CLEAN_EXTRA = *.class TestSensorMsg.java

TestSensor.class: $(wildcard *.java) TestSensorMsg.java
	javac	*.java

TestSensorMsg.java:
	mig java -target=null $(CFLAGS) -java-classname=TestSensorMsg TestSensorMessage.h sensor_msg -o $@

#TINYOS_ROOT_DIR?=../..
#include $(TINYOS_ROOT_DIR)/Makefile.include
include $(MAKERULES)